const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  chainWebpack:(config)=>{
    config.module
    .rule('glb')
    .test(/\.(glb|gltf|hdr)$/)
    .use('file-loader')
    .loader('file-loader')
    .options({
      name:'assets/[name].[has:8].[ext]'
    })
    .end()
  }
})
